<volist name="bars" id="bar">
    <switch name="bar">
        <case value="add" break="1">
            <a href="add" class="layui-btn layui-btn-primary" title="新增{$title}">
                <i class="layui-icon">&#xe654;</i>
            </a>
        </case>
        <case value="delete" break="1">
            <a href="#delete" class="layui-btn layui-btn-primary batch" title="删除所选" alert="您确定要删除这些{$title}吗？">
                <i class="layui-icon">&#xe640;</i>
            </a>
        </case>
        <case value="enable" break="1">
            <a href="#enable" class="layui-btn layui-btn-primary batch" title="启用" alert="您确定要启用这些{$title}吗？">
                <i class="layui-icon"> &#x1005;</i>
            </a>
        </case>
        <case value="disable" break="1">
            <a href="#disable" class="layui-btn layui-btn-primary batch" title="禁用" alert="您确定要禁用这些{$title}吗？">
                <i class="layui-icon">&#x1007;</i>
            </a>
        </case>
        <case value="imports" break="1">
            <a href="imports" class="layui-btn layui-btn-primary" title="导入{$title}">
                <i class="layui-icon">&#xe62f;</i>
            </a>
        </case>
        <case value="exports" break="1">
            <a href="#exports" class="layui-btn layui-btn-primary export" title="导出{$title}">
                <i class="layui-icon">&#xe601;</i>
            </a>
        </case>
        <default />{$bar}
    </switch>
</volist>





